package com.bigdata.service.mysql;

import com.bigdata.mysql.entity.JkfwUser;
import com.bigdata.mysql.entity.JkfwUserRole;
import com.bigdata.mysql.entity.JkfwUserRoleExample;
import com.bigdata.service.mysql.base.IBaseService;

import java.util.List;

/**
 * JkfwUserRole的服务接口
 *
 * @author
 */
public interface JkfwUserRoleService extends IBaseService<JkfwUserRole, JkfwUserRoleExample> {
    /**
     * 添加用户和角色
     *
     * @param *    @param roles
     * @param user
     * @return void
     * @author lly
     * @date 2020/3/22 18:49
     */
    void addUserRoleids(List<String> roles, JkfwUser user);

    /**
     * 删除用户id
     *
     * @param * @param user
     * @return void
     * @author lly
     * @date 2020/3/22 18:49
     */
    void deleteUserid(JkfwUser user);
}
